systemAppearance
Type
property
Summary
Determins if the system appearance is dark or light mode.
Syntax
get the systemAppearance
Description
The systemAppearance property returns either "dark" or "light" depending on whether the application is running in a dark mode context or not. On windows and linux the property will return "light".
Examples
if the systemAppearance is "dark" then
set the backColor of me to "black"
set the foreColor of me to "white"
else
set the backColor of me to "white"
set the foreColor of me to "black"
end if
Related
message: systemAppearanceChanged
Compatibility and Support
Introduced
LiveCode 9.6
OS
mac
android
ios
Platforms
desktop
mobile